.login-container {
  min-height: 100vh;
  background: linear-gradient(45deg, #c1deac , #f6f3db 70% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-content {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
}

.login-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  width: 900px;
  height: 600px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.ant-card-body{
  /* display: flex; */
  align-items: flex-start; 
  justify-content: flex-start;
}

.content-row{
  display: flex;
  align-items: center;
  gap:40px;
  margin-top: 20px;
}

.login-header {
  text-align: center;
  padding-bottom: 20px;
  margin-right: 30px;
  margin-left: 50px;
  border-bottom: 1px solid #f0f0f0;
}

.login-header h2 {
  margin-bottom: 8px;
  color: #c1deac;
  font-weight: 700;
}

.login-image{
  width: 400px;
  height: 350px;
  margin: 20px;
  background-image: url('https://pic1.imgdb.cn/item/68a96f0e58cb8da5c845a154.jpg');
  background-size: cover;
  background-position: center;
}


.login-tabs {
  padding-right: 50px;
  margin-left: 30px;
}


.login-tabs .ant-tabs-nav {
  margin-bottom: 24px;
}

.login-tabs .ant-tabs-tab {
  font-size: 16px;
  padding: 12px 24px;
}

.login-tabs .ant-tabs-tab-active {
  font-weight: 600;
}

.login-tabs .ant-tabs-tab .anticon {
  margin-right: 8px;
}


.login-footer {
  text-align: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}


/* 扫码登录样式 */
.qrcode-container {
  text-align: center;
}

.qrcode-loading {
  padding: 40px 20px;
}

.qrcode-loading .ant-spin {
  margin-bottom: 16px;
}

.qrcode-wrapper {
  margin-bottom: 24px;
  padding: 20px;
  background: #fafafa;
  border-radius: 12px;
  border: 2px dashed #d9d9d9;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qrcode-expired {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
}

.qrcode-expired .anticon {
  margin-bottom: 16px;
}

.qrcode-tips {
  margin-top: 10px;
  text-align: left;
}

.qrcode-tips ul {
  margin: 0;
  padding: 0;
}

.qrcode-tips li {
  margin-bottom: 4px;
  color: #666;
}


/* 响应式设计 */
@media (max-width: 480px) {
  .login-content {
    max-width: 100%;
  }

  .login-card {
    margin: 0 16px;
  }

  .qrcode-wrapper {
    padding: 16px;
    min-height: 200px;
  }

  .login-tabs .ant-tabs-tab {
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* 动画效果 */
.qrcode-wrapper {
  transition: all 0.3s ease;
}

.qrcode-wrapper:hover {
  border-color: #c1deac;
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.15);
}

.login-card {
  animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 状态指示器样式 */
.ant-alert {
  border-radius: 8px;
  margin-bottom: 16px;
}

.ant-alert-info {
  border-color: #c1deac;
  background-color: #f6ffed;
}

.ant-alert-success {
  border-color: #b7eb8f;
  background-color: #f6ffed;
}

.ant-alert-warning {
  border-color: #ffe58f;
  background-color: #fffbe6;
}

.ant-alert-error {
  border-color: #ffccc7;
  background-color: #fff2f0;
}
